ADP\BaseVersion\Includes\PriceDisplay\ProcessedProductSimple A

Total Complexity 68
Dependencies 9
Dependents 14
Total lines 526
Lines of code 250
Logical lines of code 153
Comment lines 145
Methods 29
Properties 10

Methods 29

Method Rating Maintainability Complexity Lines of code
getItemByPos()
S
56 7 18
calculateSubtotal()
S
54 5 22
isAffectedByRangeDiscount()
S
59 5 15
__construct()
S
57 4 16
getHtml()
S
55 3 20
getCalculatedPrice()
S
59 3 14
getPrice()
S
61 3 12
areRulesAppliedAtAll()
S
62 3 11
getOriginalPrice()
S
68 3 7
getOriginalPriceToDisplay()
S
68 3 7
isUsingCustomPrice()
S
64 2 9
getMinDiscountRangePrice()
S
69 2 7
getWcCartItem()
S
69 2 7
getPos()
S
69 2 7
isDiscounted()
S
64 2 10
isPriceChanged()
S
64 2 10
getDiscounts()
S
69 2 7
getHistory()
S
69 2 7
areRulesApplied()
S
64 2 10
setOriginalPriceToDisplay()
S
68 2 7
withContext()
S
81 1 3
getQty()
S
82 1 3
getProduct()
S
82 1 3
getPriceHtml()
S
79 1 3
getSubtotalHtml()
S
79 1 3
getQtyAlreadyInCart()
S
82 1 3
setQtyAlreadyInCart()
S
81 1 3
getFreeCartItems()
S
82 1 3
getListOfFreeCartItemChoices()
S
82 1 3